package pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


import java.sql.Timestamp;

@TableName("`order`")
@Data
public class Order {
    @TableId(value="orderid",type = IdType.AUTO)
    private int orderid;
    private String ordername;
    private double orderprice;
    private Timestamp time;
    private int order_userid;
    @TableField(exist = false)
    private User user;

}

